package com.itcs.app.pay.model;

/**
 * 被扫返回
 * @author LiuPeng
 * @date 2018年3月24日
 *  
 */
public class TradePayRes {
	
	/**
	 * @Fields 响应成功
	 */
	public static final String RESCODE_SUCCESS = "0";
	/**
	 * @Fields 响应失败
	 */
	public static final String RESCODE_FAILED = "1";
	
	
	
	/**
	 * @Fields 支付成功
	 */
	public static final String PAY_SUCCESS = "success";
	/**
	 * @Fields 支付失败
	 */
	public static final String PAY_FAILED = "failed";
	/**
	 * @Fields 支付等待
	 */
	public static final String PAY_WAIT = "wait";
	
	/**
	 * @Fields 响应吗
	 */
	private String rescode;
	
	/**
	 * @Fields 支付状态
	 */
	private String payStatus;
	
	/**
	 * @Fields 第三方支付订单号
	 */
	private String platformOrderNo;
	
	/**
	 * @Fields 渠道支付订单号
	 */
	private String channelOrderNo;
	
	/**
	 * @Fields 被扫用户ID
	 */
	private String openid;

	/** 
	 * 创建一个新的实例 TradePayRes.  
	 *
	 * @param rescode 响应吗
	 * @param payStatus 支付状态
	 */
	public TradePayRes(String rescode, String payStatus) {
		super();
		this.rescode = rescode;
		this.payStatus = payStatus;
	}

	/**
	 * @return the rescode
	 */
	public String getRescode() {
		return rescode;
	}

	/**
	 * @param rescode the rescode to set
	 */
	public void setRescode(String rescode) {
		this.rescode = rescode;
	}

	/**
	 * @return the payStatus
	 */
	public String getPayStatus() {
		return payStatus;
	}

	/**
	 * @param payStatus the payStatus to set
	 */
	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}

	/**
	 * @return the platformOrderNo
	 */
	public String getPlatformOrderNo() {
		return platformOrderNo;
	}

	/**
	 * @param platformOrderNo the platformOrderNo to set
	 */
	public void setPlatformOrderNo(String platformOrderNo) {
		this.platformOrderNo = platformOrderNo;
	}

	/**
	 * @return the channelOrderNo
	 */
	public String getChannelOrderNo() {
		return channelOrderNo;
	}

	/**
	 * @param channelOrderNo the channelOrderNo to set
	 */
	public void setChannelOrderNo(String channelOrderNo) {
		this.channelOrderNo = channelOrderNo;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}
	
	
}
